﻿using System;
using System.Collections.Generic;
using System.Text;


namespace Acoris.Rendering
{
    using Acoris.Foundation;

#if NETFX_CORE || WINDOWS_UWP
    using Microsoft.Graphics.Canvas;
    using Microsoft.Graphics.Canvas.Text;
    using Microsoft.Graphics.Canvas.Brushes;
#endif

    public abstract class TextElement:InlineElement
    {

#if NETFX_CORE || WINDOWS_UWP
        protected CanvasTextFormat CurrentFormat;

        public CanvasTextFormat Format {
            get {
                return CurrentFormat;
            }
        }
#endif

        /// <summary>
        /// 
        /// </summary>
        public BorderThickness Padding { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public HorizontaAlignment TextAlignment { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Text { get; set; }
    }
}
